import myAxios from "@/request/myAxios";

// 获取消息页是否有消息
export const getMessageture = () => {
  return myAxios.get('/message')
}
// 获取队伍聊天室
export const getJoinTeamMessage = () => {
  return myAxios.get('/team/list/my/join/all')
}

// 获取点赞新消息
export const getLikeNum = () => {
  return myAxios.get('/message/like/num')
}

// 获取评论新消息
export const getCommentNum = () => {
  return myAxios.get('/message/blog/num')
}

// 获取私信
export const getPrivateList = () => {
  return myAxios.get('/chat/private')
}
// 获取粉丝列表
export const getFollowUserList = (currentPage:number) => {
  return myAxios.get('/follow/fans',{
    params: {
      currentPage
    }
  })
}
// 获取点赞列表
export const getMessageLikeList = (currentPage:number) => {
  return myAxios.get('/message/like',{
    params: {
      currentPage
    }
  })
}

// 获取评论列表
export const getMessageCommentList = () => {
  return myAxios.get('/comments/list/commented')
}